<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ld.com/shield/tags" prefix="shield"%>
<%@ page trimDirectiveWhitespaces="true" %>
<fmt:setLocale value="zh_CN"/>
<div class="show-info">
    <table class="tab-show">
    	<colgroup>
    		<col width="20%">
    		<col width="">
    	</colgroup>
        <tr>
	    	<th>
            	<label>标题：</label>
        	</th>
         	<td colspan="3">${model.title }</td>
		</tr>
        <tr>
	    	<th>
            	<label>内容：</label>
        	</th>
         	<td colspan="3">${model.content}</td>
		</tr>
        <%-- <tr>
	    	<th>
            	<label>跟踪：</label>
        	</th>
         	<td><c:if test="${model.track eq 1}">错误</c:if>
				<c:if test="${model.track eq 2}">功能</c:if>
				<c:if test="${model.track eq 3}">支持</c:if></td>
			<th>
            	<label>任务状态：</label>
        	</th>
         	<td><c:if test="${model.taskState eq 1}">新建</c:if>
				<c:if test="${model.taskState eq 2}">进行中</c:if>
				<c:if test="${model.taskState eq 3}">已解决</c:if>
				<c:if test="${model.taskState eq 4}">反馈</c:if>
				<c:if test="${model.taskState eq 5}">已关闭</c:if></td>
		</tr>
        <tr>
	    	<th>
            	<label>优先级：</label>
        	</th>
         	<td><c:if test="${model.priority eq 1}">低</c:if>
	   		<c:if test="${model.priority eq 2}">普通</c:if>
	   		<c:if test="${model.priority eq 3}">高</c:if>
	   		<c:if test="${model.priority eq 4}">紧急</c:if>
	   		<c:if test="${model.priority eq 5}">立刻</c:if></td>
	   		<th>
            	<label>被指派人：</label>
        	</th>
         	<td>${sysUser.userName }</td>
		</tr> --%>
        <tr>
	    	<th>
            	<label>开始日期：</label>
        	</th>
         	<td><fmt:formatDate value="${model.startDate }" pattern="yyyy-MM-dd"/></td>
         	<th>
            	<label>计划完成日期：</label>
        	</th>
         	<td><fmt:formatDate value="${model.plannedCompletionDate }" pattern="yyyy-MM-dd"/></td>
		</tr>
        <tr>
	    	<th>
            	<label>耗时：</label>
        	</th>
         	<td>${not empty model.timeConsuming ? model.timeConsuming : '0'}小时</td>
         	<th>
            	<label>完成度：</label>
        	</th>
         	<td>${model.completionDegree }%</td>
		</tr>
        <tr>
	    	<th>
            	<label>创建人姓名：</label>
        	</th>
         	<td>${model.createName }</td>
         	<th>
            	<label>修改人姓名：</label>
        	</th>
         	<td>${model.updateName }</td>
		</tr>
        <tr>
	    	<th>
            	<label>创建时间：</label>
        	</th>
         	<td><fmt:formatDate value="${model.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
         	<th>
            	<label>修改时间：</label>
        	</th>
         	<td><fmt:formatDate value="${model.updateTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
		</tr>
    </table>
    <div class="opt"></div>
</div>